package com.alexsh.service;

import com.alexsh.service.bookspresentation.BookType;
import com.alexsh.web.form.BookFormBean;

import java.io.Serializable;

/**
 * @author Alexander Shmygin <AShmygin@luxoft.com>
 * @version 1.0
 */
public interface BookManager extends Serializable {

    public String getBookList(BookType bookType);

    String getBookById(String bookId, BookType bookType);

    void saveBook(BookFormBean formBean);

    void deleteBookById(String bookId);
}
